<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/31
  Time: 16:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" isELIgnored="false" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>update</title>
</head>
<body>
<div>
    <form method="post" action="/sss/resume/save">
        <table>
            <c:if test="${isAdd}">
                <tr>
                    <td colspan="2" align="center">新增</td>
                </tr>
            </c:if>
            <c:if test="${!isAdd}">
                <tr>
                    <td colspan="2" align="center">修改</td>
                </tr>
            </c:if>
            <c:if test="${!isAdd}">
                <tr>
                    <td><span>id:</span></td>
                    <td>
                        <input name="id" value="${resume.id}" readonly style="border: none">
                    </td>
                </tr>
            </c:if>

            <tr>
                <td><span>address:</span></td>
                <td>
                    <input name="address" value="${resume.address}">
                </td>
            </tr>
            <tr>
                <td><span>name:</span></td>
                <td>
                    <input name="name" value="${resume.name}">
                </td>
            </tr>
            <tr>
                <td><span>phone:</span></td>
                <td>
                    <input name="phone" value="${resume.phone}">
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" value="保存"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
